package com.gagakuai.bpm.dao.mapper.camunda;


import com.gagakuai.bpm.domian.entity.camuda.ActIdUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ActIdUserMapper {
    int deleteByPrimaryKey(String id);

    int insert(ActIdUser record);

    int insertOrUpdate(ActIdUser record);

    int insertOrUpdateSelective(ActIdUser record);

    int insertSelective(ActIdUser record);

    ActIdUser selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(ActIdUser record);

    int updateByPrimaryKey(ActIdUser record);

    int updateBatch(List<ActIdUser> list);

    int batchInsert(@Param("list") List<ActIdUser> list);



    /*
    *  根据用户id获取用户所在的用户组
    *
    */
    List<String> selectCaniteGroupList(@Param("userId")String userId);

    /*
     *  根据用户组获取用户
     *
     */
    List<ActIdUser> selectUserListByRole(@Param("roleNameList")List<String> roleNameList);
}